package com.zhbcm.treebuilder.bean;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2021/7/14 19:17
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class BaseModel implements Serializable
{
    private static final long serialVersionUID = 5816622868513563427L;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @TableLogic
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;
}
